
import http from "@/utils/http";

export const getUserOrder = (params) => {
    return http.get('/member/order/myOrder', { params });
};

// 新增的 API 方法：更新订单状态
export const updateOrderStatus = (orderDto) => {
    // 假设 http 已经配置好支持 PUT 请求
    return http.put('/order/update', orderDto);
};